﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="levelmisInfo.aspx.cs" Inherits="pro_misInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评级专家：等级任务信息</title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:Panel ID="Panel1" runat="server">
    <div>
        <div id="content">
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:appConnectionString %>" 
                
                
                SelectCommand="SELECT levelmission.levelmissionid, levelmission.actor, levelmission.actorroleid, levelmission.projectid, levelmission.type, levelmission.state, project.projectname FROM levelmission INNER JOIN project ON levelmission.projectid = project.projectid WHERE (levelmission.levelmissionid = @levelmissionid)">
                <SelectParameters>
                    <asp:QueryStringParameter Name="levelmissionid" 
                        QueryStringField="levelmissionid" />
                </SelectParameters>
            </asp:SqlDataSource>
            <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
                BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
                CellPadding="3" DataSourceID="SqlDataSource1" GridLines="Horizontal" 
                Width="100%">
                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                <Fields>
                    <asp:BoundField DataField="projectname" HeaderText="项&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目：" 
                        SortExpression="projectname" >
                        <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="type" HeaderText="任务类型：" SortExpression="type" >
                        <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="actor" HeaderText="执&nbsp;&nbsp;行&nbsp;&nbsp;者：" SortExpression="actor" >
                        <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="state" HeaderText="状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：" 
                        SortExpression="state" >
                        <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    </asp:BoundField>
                </Fields>
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                <AlternatingRowStyle BackColor="#F7F7F7" />
            </asp:DetailsView>
        </div>
    
    </div>
    <div style="text-align: center">
        <asp:Button ID="Button1" runat="server" BackColor="White" BorderStyle="None" 
            CssClass="bacimg1" Text="接受任务" onclick="Button1_Click" />
    </div>
    <div style="color: #FF3300">
        *注意：只有接受了的任务才能对任务进行评级。</div>
        
        </asp:Panel>
    <asp:Panel ID="Panel2" runat="server">
    
    
    </asp:Panel>
    </form>
</body>
</html>
